package com.origin.app

import android.content.Intent
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.databinding.DataBindingUtil
import com.origin.app.databinding.ActivityShadowLayoutBinding

class ShadowLayoutActivity : AppCompatActivity() {


    lateinit var binding: ActivityShadowLayoutBinding

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        binding = DataBindingUtil.setContentView(this, R.layout.activity_shadow_layout)
        binding.ShadowLayoutShadow.setOnClickListener { v ->
            startActivity(
                Intent(
                    this@ShadowLayoutActivity,
                    ShadowActivity::class.java
                )
            )
        }
        binding.ShadowLayoutShape.setOnClickListener { v ->
            startActivity(
                Intent(
                    this@ShadowLayoutActivity,
                    ShapeActivity::class.java
                )
            )
        }
        binding.ShadowLayoutWiki.setOnClickListener { v ->
            startActivity(
                Intent(
                    this@ShadowLayoutActivity,
                    WikiActivity::class.java
                )
            )
        }
    }


}